package org.yenn.pattern.factory.demoabstract;

import org.yenn.pattern.factory.service.IBoy;
import org.yenn.pattern.factory.service.IGirl;
import org.yenn.pattern.factory.service.impl.HNBoy;
import org.yenn.pattern.factory.service.impl.HNGirl;

/**
 * 新年系列加工厂
 * @author Administrator
 *
 */
public class HNFactory implements IPersonFactory {

	@Override
	public IBoy getBoy() {
		return new HNBoy();
	}

	@Override
	public IGirl getGirl() {
		return new HNGirl();
	}

}
